<template>
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="#1baeae">
        <van-swipe-item v-for="item in swiper" :key="item"><img :src="item" alt=""></van-swipe-item>
    </van-swipe>
</template>
  
<script>
export default {
    props: {
        swiper: Array
    }
}
</script>
  
<style lang="scss" scoped>
.my-swipe {
    top: 0;
}

.my-swipe img {
    width: 100%;
    height: 100%;
}
</style>